package models

import "gorm.io/gorm"

const (
	StatusRunning = "running"
	StatusSuccess = "success"
	StatusFailure = "failure"
)

type Task struct {
	gorm.Model
	PipelineID string `gorm:"index"`
	Command    string
	Workspace  string
	ExecuteID  string
	LogPath    string
	Status     string
	Error      string
	Serial     string
}
